
from django.urls import path, re_path
from configCenter import views
from configCenter import gameserver_group_views
from configCenter import gameserver_views

urlpatterns = [
    ########配置中心 url开始########
    path('conf_setting_list/', views.conf_setting_list),
    path('conf_setting_add/', views.conf_setting_add),
    path('conf_setting_del/', views.conf_setting_del),
    re_path('conf_setting_edit-(?P<conf_setting_id>\d+)/', views.conf_setting_edit),
    re_path('conf_setting_detail-(?P<conf_setting_id>\d+)/', views.conf_setting_detail),
    path('conf_setting_get_api/', views.conf_setting_get_api),
    path('conf_setting_connectcross/', views.conf_setting_connectcross),
    path('conf_setting_clone/', views.conf_setting_clone),
    ########配置中心 url结束########

    ########分区管理 url开始########
    path('gameserver_group_list/', gameserver_group_views.gameserver_group_list),
    path('gameserver_group_add/', gameserver_group_views.gameserver_group_add),
    re_path('gameserver_group_edit-(?P<gameserver_group_id>\d+)/', gameserver_group_views.gameserver_group_edit),
    path('gameserver_group_del/', gameserver_group_views.gameserver_group_del),
    ########分区管理 url结束########

    ########应用管理 url开始########
    path('gameserver_list/', gameserver_views.gameserver_list),
    path('install_game/', gameserver_views.install_game_new),
    re_path('gameserver_config_detail-(?P<server_id>\d+)/', gameserver_views.gameserver_config_detail),
    re_path('gameserver_edit-(?P<id>\d+)/', gameserver_views.gameserver_edit),
    path('gameserver_del/', gameserver_views.gameserver_del),
    path('gameserver_config_api/', gameserver_views.gameserver_config_api),
    ########应用管理 url结束########

    ########配置案例 url开始########
    path('demo/', views.demo),
    ########配置案例 url结束########
]
